<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4"
      lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>home</title>
</head>
<body>
<h3 th:inline="text">Hello <span sec:authentication="name" style="color:green;"></span></h3>
<div>
    <ul>
        <li>
            <a href="/me">me</a>
        </li>
    </ul>
</div>

</body>
</html>